home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / othergnu / gnuplot.zoo / demo / errorbar.demo < prev    next >
Text File  |  1992-03-02  |  897b  |  31 lines

  1. #
  2. # Requires data file "err.dat" from this directory,
  3. # so change current working directory to this directory before running.
  4. # gnuplot> set term <term-type>
  5. # gnuplot> load 'errorbar.demo'
  6. #
  7.  
  8. set title "Demonstration of error bars (both ylow and yhigh, default format)"
  9. plot [-3:65] "err.dat" with errorbars
  10.  
  11. pause -1 "Hit return to continue"
  12.  
  13. # this should look the same
  14. set title "Demonstration of error bars (both ylow and yhigh)"
  15. plot [-3:65] "err.dat" using 1:2:3:4 with errorbars
  16.  
  17. pause -1 "Hit return to continue"
  18.  
  19. set title "Demonstration of error bars (only ydelta)"
  20. plot [-3:65] "err.dat" using 1:2:5 with errorbars
  21.  
  22. pause -1 "Hit return to continue"
  23.  
  24. set title "Plot data file twice to get lines and errorbars"
  25. plot [-3:65] [6:14] "err.dat" with lines, "err.dat" using 1:2:4:3 with errorbars
  26.  
  27. set title ""
  28. set autoscale
  29.  
  30. pause -1 "Hit return to continue"
  31.